<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<%@ include file="/WEB-INF/views/include/head.jsp"%>

</head>
<body>
	<form name="fomShiFu" id="fomShiFu" method="post" action="${ctx}/ShiFu/list">
	<input type="hidden" name="page" id="page" value=""/>
		<tr>
			<td height="30">
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td height="62" background="${ctxStatic}/images/nav04.gif">
							<!--  -->
							<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
							</table>
						</td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td><table id="subtree1"  width="100%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
								<tr>
									<td height="40" class="font42">
										<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#464646" class="newfont03">
											<tr class="CTitle">
												<td height="22" colspan="7" align="center" style="font-size: 16px">师傅列表</td>
											</tr>
											<tr bgcolor="#EEEEEE">
												<td width="20%" align="center">师傅编号</td>
												<td width="20%" align="center">师傅姓名</td>
												<td width="20%" align="center">师傅电话</td>
												<td width="40%" align="center">功&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;能</td>
											</tr>
											<c:forEach items="${obj.list}" var="shifu">
												<tr bgcolor="#FFFFFF">
													<td>${shifu.shiFuId}</td>
													<td>${shifu.shiFuName}</td>
													<td>${shifu.shiFuPhone}</td>
													<td align="center"><c:if test="${'admin' == username }">
															<a href="${ctx }/ShiFu/delete?shiFuId=${shifu.shiFuId }">删除</a>
														</c:if></td>
												</tr>
											</c:forEach>
										</table>
									</td>
								</tr>
							</table>
							<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
								<tr>
									<td height="6"><img src="${ctxStatic}/images/spacer.gif" width="1" height="1" /></td>
								</tr>
								<tr>
									<tags:page pageNumber="${obj.pager.pageNumber}"  pageCount="${obj.pager.pageCount}" formid="fomShiFu"></tags:page>
								</tr>
							</table></td>
					</tr>
				</table>
	</form>
</body>
</html>